package com.whc.common.exception;

/**
 * @author wang-hai-cheng
 * @since 2021/12/11 13:11
 */
public class MessageException extends RuntimeException {
    public MessageException(String message) {
        super(message);
    }

    public static MessageException instance(String message) {
        return new MessageException(message);
    }
}